import fly from '@/utils/request'
import URL from '@/utils/host'
export function login(data){
    return fly.request({
        method: 'post', 
        url:URL.host2+'login',
        body: data
    })
}

export function getopen(data){
    return fly.request({
        method: 'get', 
        url:URL.host2+'mini/login',
        body: data
    })
}